
module.exports = {
    getType(e) {
        return Object.prototype.toString.call(e).replace(/\[object (.*)\]/, (a, b) => b);
    },

    //将\替换成/
    toUnixPath(filePath) {
        return filePath.replace(/\\/g, "/");
    },
};